{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';\nimport experimental_extendTheme from './experimental_extendTheme';\nimport createTypography from './createTypography';\nimport excludeVariablesFromRoot from './excludeVariablesFromRoot';\nvar shouldSkipGeneratingVar = function shouldSkipGeneratingVar(keys) {\n  var _keys$;\n  return !!keys[0].match(/(typography|mixins|breakpoints|direction|transitions)/) || keys[0] === 'palette' && !!((_keys$ = keys[1]) != null && _keys$.match(/(mode|contrastThreshold|tonalOffset)/));\n};\nvar defaultTheme = experimental_extendTheme();\nvar _createCssVarsProvide = createCssVarsProvider({\n    theme: defaultTheme,\n    attribute: 'data-mui-color-scheme',\n    modeStorageKey: 'mui-mode',\n    colorSchemeStorageKey: 'mui-color-scheme',\n    defaultColorScheme: {\n      light: 'light',\n      dark: 'dark'\n    },\n    resolveTheme: function resolveTheme(theme) {\n      var newTheme = _extends({}, theme, {\n        typography: createTypography(theme.palette, theme.typography)\n      });\n      return newTheme;\n    },\n    shouldSkipGeneratingVar: shouldSkipGeneratingVar,\n    excludeVariablesFromRoot: excludeVariablesFromRoot\n  }),\n  CssVarsProvider = _createCssVarsProvide.CssVarsProvider,\n  useColorScheme = _createCssVarsProvide.useColorScheme,\n  getInitColorSchemeScript = _createCssVarsProvide.getInitColorSchemeScript;\nexport { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider };","map":{"version":3,"names":["_extends","unstable_createCssVarsProvider","createCssVarsProvider","experimental_extendTheme","createTypography","excludeVariablesFromRoot","shouldSkipGeneratingVar","keys","_keys$","match","defaultTheme","theme","attribute","modeStorageKey","colorSchemeStorageKey","defaultColorScheme","light","dark","resolveTheme","newTheme","typography","palette","CssVarsProvider","useColorScheme","getInitColorSchemeScript","Experimental_CssVarsProvider"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/material/esm/styles/CssVarsProvider.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';\nimport experimental_extendTheme from './experimental_extendTheme';\nimport createTypography from './createTypography';\nimport excludeVariablesFromRoot from './excludeVariablesFromRoot';\nconst shouldSkipGeneratingVar = keys => {\n  var _keys$;\n  return !!keys[0].match(/(typography|mixins|breakpoints|direction|transitions)/) || keys[0] === 'palette' && !!((_keys$ = keys[1]) != null && _keys$.match(/(mode|contrastThreshold|tonalOffset)/));\n};\nconst defaultTheme = experimental_extendTheme();\nconst {\n  CssVarsProvider,\n  useColorScheme,\n  getInitColorSchemeScript\n} = createCssVarsProvider({\n  theme: defaultTheme,\n  attribute: 'data-mui-color-scheme',\n  modeStorageKey: 'mui-mode',\n  colorSchemeStorageKey: 'mui-color-scheme',\n  defaultColorScheme: {\n    light: 'light',\n    dark: 'dark'\n  },\n  resolveTheme: theme => {\n    const newTheme = _extends({}, theme, {\n      typography: createTypography(theme.palette, theme.typography)\n    });\n    return newTheme;\n  },\n  shouldSkipGeneratingVar,\n  excludeVariablesFromRoot\n});\nexport { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider };"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,SAASC,8BAA8B,IAAIC,qBAAqB,QAAQ,aAAa;AACrF,OAAOC,wBAAwB,MAAM,4BAA4B;AACjE,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,OAAOC,wBAAwB,MAAM,4BAA4B;AACjE,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuB,CAAGC,IAAI,EAAI;EACtC,IAAIC,MAAM;EACV,OAAO,CAAC,CAACD,IAAI,CAAC,CAAC,CAAC,CAACE,KAAK,CAAC,uDAAuD,CAAC,IAAIF,IAAI,CAAC,CAAC,CAAC,KAAK,SAAS,IAAI,CAAC,EAAE,CAACC,MAAM,GAAGD,IAAI,CAAC,CAAC,CAAC,KAAK,IA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